package com.zhentao.controller;

import com.zhentao.model.common.dtos.ResponseResult;
import com.zhentao.model.pojo.user.history.param.UserHistoryParam;
import com.zhentao.service.ChargePointsHistoryChangeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @ClassName: ChargePointsHistoryChangeController
 * @Author: 振涛教育_Q
 * @Date: 2024/12/23 16:34
 */
@RestController
@RequestMapping("/auth/user")
public class ChargePointsHistoryChangeController {
    @Autowired
    private ChargePointsHistoryChangeService historyChangeService;


    /**
     * @description  查询积分记录
     * @author 振涛教育_小Q
     * @date    2024/12/23 16:34
      * @param
     * @return com.zhentao.model.common.dtos.ResponseResult
     */
    @PostMapping("/select/points/change")
    public ResponseResult selectPointsChange(@RequestBody UserHistoryParam param){
        return historyChangeService.selectPointsChange(param);
    }
}
